/**
 * Created by fanweihua on 2016/12/2.
 */
import React from 'react';
import FooterHtml from './footerHtml.js';

const Footer = React.createClass({
    getInitialState: function () {
        return {
            html: FooterHtml.html
        };
    },
    render(){
        return (
            <div className="Z_slideIn">
                <div className="page slideIn">
                    <div className="Z_content_code">
                        <div dangerouslySetInnerHTML={{__html: this.state.html}}></div>
                    </div>
                </div>
                <div className="Z_content">
                    <div className="Z_panel-body-backgound">
                        <FooterNav></FooterNav>
                    </div>
                </div>
            </div>
        );
    }
});
module.exports = Footer;
const FooterNav = React.createClass({
    render(){
        return (
            <div className="Z_panel-body">
                <div className="page__hd">
                    <h1 className="page__title">Footer</h1>
                    <p className="page__desc">页脚</p>
                </div>
                <div className="page__bd page__bd_spacing">
                    <div className="weui-footer">
                        <p className="weui-footer__text">Copyright © 2008-2016 weui.io</p>
                    </div>
                    <br></br>
                    <br></br>
                    <div className="weui-footer">
                        <p className="weui-footer__links">
                            <a href="javascript:void(0);" className="weui-footer__link">底部链接</a>
                        </p>
                        <p className="weui-footer__text">Copyright © 2008-2016 weui.io</p>
                    </div>
                    <br></br>
                    <br></br>
                    <div className="weui-footer">
                        <p className="weui-footer__links">
                            <a href="javascript:void(0);" className="weui-footer__link">底部链接</a>
                            <a href="javascript:void(0);" className="weui-footer__link">底部链接</a>
                        </p>
                        <p className="weui-footer__text">Copyright © 2008-2016 weui.io</p>
                    </div>
                </div>
            </div>
        );
    }
});